﻿using MeterReader.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;

namespace MeterReader.Services.Repositories
{
   public interface IWriteDbRepository
    {
        public Task WriteDataAsync(TableMeters tableMeters, CancellationToken cancellationToken);
        public IEnumerable<string> GetMeterColumnsFromTMeters();
        public IQueryable<TableMeters> SearchHistory(System.Linq.Expressions.Expression<Func<TableMeters, bool>> predicate);
    }
}